package designPattern.Builder;

/**
 * @author ldy
 * @data 2022/11/9
 * @description Person对象的整体构造器
 * Director
 */
public class PersonDirector {
    public Person constructPerson(PersonBuilder pb) {
        pb.buildHead();
        pb.buildBody();
        pb.buildFoot();
        return pb.buildPerson();
    }
}
